import request from '@/utils/request'

// 查询列表
export function getByUserId() {
  return request({
    url: '/system/shouCang/getByUserId',
    method: 'get',
    params: {}
  })
}

// 新增
export function add(id) {
  return request({
    url: '/system/shouCang/add?id='+id,
    method: 'get',
    params: {}
  })
}

// 删除用户
export function remove(id) {
  return request({
    url: '/system/shouCang/remove?id=' + id,
    method: 'delete'
  })
}

